.blog{
    width: 100%;
    padding: 20px;
}
.blog .title{
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0 ;
}
.blog .date{
    color:rgb(0,128,0);
    text-align: center;
    padding: 5px;
}
.blog .desc{
    text-indent: 2em;
}
.blog a{
    display: block;
    width: 140px;
    height: 40px;
    margin: 10px auto;
    line-height: 40px;
    border: 2px gray solid;
    text-align: center;
    color: grey;
    text-decoration: none;
    /*给按钮的颜色变化加个过渡*/
    transition: all 0.5s;
}
/*鼠标放上去之后，颜色改变的效果*/
.blog a:hover{
    background-color: #333;
    color: #fff;

}